package com.ladlee.parking.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ladlee.parking.entity.SysParking;
import com.ladlee.parking.entity.vo.ParkingVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysParkingMapper extends BaseMapper<SysParking> {

    /**
     * 查询列表
     *
     * @return
     */
    List<ParkingVo> selectParkingList(@Param("key") String key, @Param("page") Integer page, @Param("rows") Integer rows);

    Long selectParkingListTotal(@Param("key") String key);
}
